package com.jojo.bubble.common.handle;

import com.jojo.bubble.common.vxInterface.GetToken;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @package: com.jojo.ocr_car.common.handle
 * @author: jojo
 * @date: 2022/11/11 16:29
 */
@Component
public class ScheduleHandle {
    @Scheduled(fixedDelay = 1800 * 3000)  // 1.5 小时 1800*3000
    public void autoGetToken() {
        GetToken.setTokenNull();
    }

}
